//
//  Custody.h
//  TourDeGarde
//
//  Created by Guillaume SOURDRILLE on 03/05/12.
//  Copyright (c) 2012 Astek. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Custody : NSObject<NSCoding>{
    
    NSString *uniqueId;
    NSString *name;
    NSDate *beginDate;
    NSDate *endDate;
    BOOL active;
    
}
@property (nonatomic,retain) NSString *uniqueId;
@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSDate *beginDate;
@property (nonatomic,retain) NSDate *endDate;
@property (nonatomic, assign, getter=isActive) BOOL active;
- (id)initCustody;
- (NSString *)uuid;
- (NSString *)validate;
- (NSInteger)timeBetween;
@end
